package com.ruoyi.yanjing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 监测点位历史告警信息对象 c5_point_alarm_history
 * 
 * @author whz
 * @date 2024-11-19
 */
public class PointAlarmHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 点位id */
    @Excel(name = "点位id")
    private Long pointId;

    /** 点位编码 */
    @Excel(name = "点位编码")
    private String pointCode;

    /** 点位名称 */
    @Excel(name = "点位名称")
    private String pointName;

    /** 点位设备名称 */
    @Excel(name = "点位设备名称")
    private String pointDeviceName;

    /** 相位 */
    @Excel(name = "相位")
    private String phase;

    /** 电杆id */
    @Excel(name = "电杆id")
    private Long poleId;

    /** 所属线路id */
    @Excel(name = "所属线路id")
    private String lineId;

    /** 告警状态1正常,0异常 */
    @Excel(name = "告警状态1正常,0异常")
    private String pointAlarmStatus;

    /** 设备温度 */
    @Excel(name = "设备温度")
    private String deviceTemperature;

    /** 设备温度 */
    @Excel(name = "设备电压")
    private String deviceVoltage;

    /** 设备状态：1正常,0异常 */
    @Excel(name = "设备状态：1正常,0异常")
    private String deviceStatus;

    /** 数据上报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据上报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String standby1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String standby2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String standb3;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createEmployeeId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateEmployeeId;

    public String getDeviceVoltage() {
        return deviceVoltage;
    }

    public void setDeviceVoltage(String deviceVoltage) {
        this.deviceVoltage = deviceVoltage;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPointCode(String pointCode) 
    {
        this.pointCode = pointCode;
    }

    public String getPointCode() 
    {
        return pointCode;
    }
    public void setPointName(String pointName) 
    {
        this.pointName = pointName;
    }

    public String getPointName() 
    {
        return pointName;
    }
    public void setPointDeviceName(String pointDeviceName) 
    {
        this.pointDeviceName = pointDeviceName;
    }

    public String getPointDeviceName() 
    {
        return pointDeviceName;
    }
    public void setPhase(String phase) 
    {
        this.phase = phase;
    }

    public String getPhase() 
    {
        return phase;
    }
    public void setPoleId(Long poleId) 
    {
        this.poleId = poleId;
    }

    public Long getPoleId() 
    {
        return poleId;
    }
    public void setLineId(String lineId) 
    {
        this.lineId = lineId;
    }

    public String getLineId() 
    {
        return lineId;
    }
    public void setPointAlarmStatus(String pointAlarmStatus) 
    {
        this.pointAlarmStatus = pointAlarmStatus;
    }

    public String getPointAlarmStatus() 
    {
        return pointAlarmStatus;
    }
    public void setDeviceTemperature(String deviceTemperature) 
    {
        this.deviceTemperature = deviceTemperature;
    }

    public String getDeviceTemperature() 
    {
        return deviceTemperature;
    }
    public void setDeviceStatus(String deviceStatus) 
    {
        this.deviceStatus = deviceStatus;
    }

    public String getDeviceStatus() 
    {
        return deviceStatus;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setStandby1(String standby1) 
    {
        this.standby1 = standby1;
    }

    public String getStandby1() 
    {
        return standby1;
    }
    public void setStandby2(String standby2) 
    {
        this.standby2 = standby2;
    }

    public String getStandby2() 
    {
        return standby2;
    }
    public void setStandb3(String standb3) 
    {
        this.standb3 = standb3;
    }

    public String getStandb3() 
    {
        return standb3;
    }
    public void setCreateEmployeeId(Long createEmployeeId) 
    {
        this.createEmployeeId = createEmployeeId;
    }

    public Long getCreateEmployeeId() 
    {
        return createEmployeeId;
    }
    public void setUpdateEmployeeId(Long updateEmployeeId) 
    {
        this.updateEmployeeId = updateEmployeeId;
    }

    public Long getUpdateEmployeeId() 
    {
        return updateEmployeeId;
    }

    public Long getPointId() {
        return pointId;
    }

    public void setPointId(Long pointId) {
        this.pointId = pointId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointCode", getPointCode())
            .append("pointName", getPointName())
            .append("pointDeviceName", getPointDeviceName())
            .append("phase", getPhase())
            .append("poleId", getPoleId())
            .append("lineId", getLineId())
            .append("pointAlarmStatus", getPointAlarmStatus())
            .append("deviceTemperature", getDeviceTemperature())
            .append("deviceStatus", getDeviceStatus())
            .append("reportTime", getReportTime())
            .append("standby1", getStandby1())
            .append("standby2", getStandby2())
            .append("standb3", getStandb3())
            .append("createTime", getCreateTime())
            .append("createEmployeeId", getCreateEmployeeId())
            .append("updateTime", getUpdateTime())
            .append("updateEmployeeId", getUpdateEmployeeId())
            .toString();
    }
}
